package com.powernode.config;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 阿里云短信服务参数配置类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "aliyun.dx")
@RefreshScope
public class AliyunDxConfig {
    // 阿里云平台访问API接口accessKeyID
    private String accessKeyID;
    // 阿里云平台访问API接口accessKeySecret
    private String accessKeySecret;
    // 阿里云短信服务签名
    private String signName;
    // 阿里云短信服务模板ID
    private String templateCode;
    // 阿里云短信服务API接口域名
    private String endpoint;
}
